-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv-sort: init at 0.5.0 #388382
base: master
Are you sure you want to change the base?
uv-sort: init at 0.5.0 #388382
Conversation
@GaetanLepage this is the first package that makes use of I tried to build this package using GitHub as a source, but it seems that Here is the tracebackpypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
Traceback (most recent call last):
File "/nix/store/gxp46ny33gykgxsbkyas7b4d64rd27sy-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/nix/store/gxp46ny33gykgxsbkyas7b4d64rd27sy-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/gxp46ny33gykgxsbkyas7b4d64rd27sy-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
self.metadata.validate_fields()
File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
_ = self.version
^^^^^^^^^^^^
File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 149, in version
self._version = self._get_version()
^^^^^^^^^^^^^^^^^^^
File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 248, in _get_version
version = self.hatch.version.cached
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 1456, in cached
raise type(e)(message) from None
RuntimeError: Error getting the version from source `uv-dynamic-versioning`: Unable to detect version control system. Checked: Git. Not installed: Mercurial, Darcs, Subversion, Bazaar, Fossil, Pijul.
ERROR Backend subprocess exited when trying to invoke build_wheel
error: builder for '/nix/store/wzhchk8rk8fkgb22h7wvyykbdw80dacn-uv-sort-0.5.0.drv' failed with exit code 1;
last 25 log lines:
> File "/nix/store/gxp46ny33gykgxsbkyas7b4d64rd27sy-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
> json_out["return_val"] = hook(**hook_input["kwargs"])
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/nix/store/gxp46ny33gykgxsbkyas7b4d64rd27sy-python3.12-pyproject-hooks-1.2.0/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
> return _build_backend().build_wheel(
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
> return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
> self.metadata.validate_fields()
> File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 265, in validate_fields
> _ = self.version
> ^^^^^^^^^^^^
> File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 149, in version
> self._version = self._get_version()
> ^^^^^^^^^^^^^^^^^^^
> File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 248, in _get_version
> version = self.hatch.version.cached
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/nix/store/pcl9w887942hvk75rwgrbz5vnyqvvwqp-python3.12-hatchling-1.27.0/lib/python3.12/site-packages/hatchling/metadata/core.py", line 1456, in cached
> raise type(e)(message) from None
> RuntimeError: Error getting the version from source `uv-dynamic-versioning`: Unable to detect version control system. Checked: Git. Not installed: Mercurial, Darcs, Subversion, Bazaar, Fossil, Pijul.
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
For full logs, run 'nix log /nix/store/wzhchk8rk8fkgb22h7wvyykbdw80dacn-uv-sort-0.5.0.drv'. |
|
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.